---
sidebar_position: 1
---
# 使用检索器进行问答

这个示例展示了如何在索引上进行问答。

import Example from "@snippets/modules/chains/popular/vector_db_qa.mdx"

<Example/>

import ExampleWithSources from "@snippets/modules/chains/popular/vector_db_qa_with_sources.mdx"

<ExampleWithSources/>
